import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/student/login',
    method: 'post',
    params:data,
  })
}

export function getInfo(token) {
  return request({
    url: '/student/getInfo',
    method: 'get',
    params: { token },
  })
}

export function logout() {
  return request({
    url: '/user/logout',
    method: 'post',
    baseURL:'https://nei.netease.com/api/apimock/78599cd77b04ee0ae9fadc95b5ea843b'
  })
}
